package cn.lgs.com.mobileplayer.http;

import java.util.Date;

/**
 * 返回数据基类
 * Created by lgs on 2017/8/7.
 */

public class BaseResponse<T> {

    private int resultCode;
    private String errMsg;
    private Date responseTime;
    private T data;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public Date getResponseTime() {
        return responseTime;
    }

    public void setResponseTime(Date responseTime) {
        this.responseTime = responseTime;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
